
<template>
  <basic-container>
    <TempData
      @handleResult="handleResult"
      @done="handleNext"
      @close="$emit('close')"
      :query="{}"
      mode="verify"
      :loading.sync="loading"
    />
  </basic-container>
</template>

<script>
import { dateFormat } from "@/util/date";
import { mapGetters } from "vuex";
import TempData from "./TempData";

export default {
  name: "swckbankverifypayment",
  components: {
    TempData,
  },
  data () {
    return {
      loading: false,
    };
  },
  computed: {
    ...mapGetters(["permissions"]),
    permissionList () {
      return {
        addBtn: this.vaildData(
          this.permissions.generator_swckbankverifypayment_add,
          false
        ),
        delBtn: this.vaildData(
          this.permissions.generator_swckbankverifypayment_del,
          false
        ),
        editBtn: this.vaildData(
          this.permissions.generator_swckbankverifypayment_edit,
          false
        ),
      };
    },
  },
  methods: {
    handleResult (result) {
      this.handleNext();
    },
    handleNext () {
      this.$emit("done");
    },
  },
};
</script>
<style scoped lang="scss">
.table-opt {
  margin-left: 0;
  margin-right: 20px;
  margin-bottom: 20px;
}
.title {
  line-height: 30px;
  border-left: 2px solid blue;
  padding: 0 20px;
  margin-bottom: 30px;
}
</style>
